<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>


        div{
            box-sizing: border-box;
        }

        .container{
            display: flex;
            align-items: center ;
            flex-wrap: wrap;
            width: 500px;
            height: 500px;
            background-color: orange;
        }


        .item{
          
            border: solid  1px grey;
            width: 100px;
            height: 50px;
        }

        


    </style>
</head>
<body>
    
    <div class="container">
        
        <div class="item" style="flex: 1;">1  </div>
        <div class="item" style="flex: 2;"> 2 </div>
        <div class="item item3" style="flex: 3;"> 3 </div>

    </div>



</body>
</html>